package com.iqiu.cms.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.LogicDelete;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2019-03-13
*/
public class CoreCompany extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //公司名称

    private String name ;
	
    //联系人

    private String linkman ;
	
    //联系电话

    private String mobile ;
	

    private Date createTime ;
	

    private Integer createUser ;

    private Date youxiaoqi ;

    private String yingyezhizhao ;

    private String zizhi ;


    public Date getYouxiaoqi() {
        return youxiaoqi;
    }

    public void setYouxiaoqi(Date youxiaoqi) {
        this.youxiaoqi = youxiaoqi;
    }

    public String getYingyezhizhao() {
        return yingyezhizhao;
    }

    public void setYingyezhizhao(String yingyezhizhao) {
        this.yingyezhizhao = yingyezhizhao;
    }

    public String getZizhi() {
        return zizhi;
    }

    public void setZizhi(String zizhi) {
        this.zizhi = zizhi;
    }

    /*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)

    private Integer delFlag ;
	
    public CoreCompany()
    {
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**公司名称
    *@return 
    */
    public String getName(){
	    return  name;
    }
    /**公司名称
    *@param  name
    */
    public void setName(String name){
        this.name = name;
    }

    /**联系人
    *@return 
    */
    public String getLinkman(){
	    return  linkman;
    }
    /**联系人
    *@param  linkman
    */
    public void setLinkman(String linkman){
        this.linkman = linkman;
    }

    /**联系电话
    *@return 
    */
    public String getMobile(){
	    return  mobile;
    }
    /**联系电话
    *@param  mobile
    */
    public void setMobile(String mobile){
        this.mobile = mobile;
    }

    public Date getCreateTime(){
	    return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Integer getCreateUser(){
	    return  createUser;
    }
    public void setCreateUser(Integer createUser){
        this.createUser = createUser;
    }

    public Integer getDelFlag(){
	    return  delFlag;
    }
    public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
    }


}
